package com.wzq.dao.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author pzm
 * @since 2022-08-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_favorites")
public class Favorites implements Serializable {


    private static final long serialVersionUID = 1L;
    /**
     * id 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 外键
     */
    private Integer w_id;

    /**
     * 外键
     */
    private Integer p_id;

    @TableField(exist = false)
    private String w_name;
    @TableField(exist = false)
    private String p_name;

}
